/**
*@author Syrings
*@version 2012-04-01
*Modifications:Copy from accident.java
Remove some duplicated variable
//*********************************************/
package accident;

import player.*;

/**
 Accident Window
 */
public class AccidentWindow {
	private Player player;
	
	public AccidentWindow(Player player){
		this.player = player;
	}
	public void greet()
	{
		System.out.println("You just stepped on the Accident cell");
		System.out.println("5 SE points will be subtracted");
		
		AccidentController aC = new AccidentController(player);
		aC.subtractSEPoints();		
	}
	
	/**
	 Display the accident results
	 */
	public void result()
	{
		System.out.println("Your SE points have been deducted");
		PlayerIO print = new PlayerIO();
		print.updateSEValue(player);
		System.out.println("Accident Stop here.");
		System.out.println("**************************************");
	}	
}
